package com.lx;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

@Getter
@NoArgsConstructor
@AllArgsConstructor
public enum CommonResultCode implements ResultCode {

    REQUEST_PARAM_NOT_NULL("9527", "参数不许用为空"),
    PARAMS_VALATE_FAIL("9528", "参数检验失败,请遵循接口入参规范"),
    PARAMS_DATA_NOT_NULL("9529", "参数不可以为空"),
    DUBBO_SERVICE_UNKNOWN_EXCEPTION("9530","dubbo服务未知异常,请您稍后再试!"),
    //设置系统统一约束 00000 为成功 99999 系统异常
    SUCCESS("00000", "成功"),
    SYSTEM_ERROR("99999", "系统异常,请您稍后再试！");

    private String code;
    private String desc;

}
